UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

AIX device files and directories must only be writable by users with a system account or as configured by the vendor.


Overview

Finding ID Version Rule ID IA Controls Severity
V-215184 AIX7-00-001019 SV-215184r508663_rule Medium
Description
System device files in writable directories could be modified, removed, or used by an unprivileged user to control system hardware.
STIG Date
IBM AIX 7.x Security Technical Implementation Guide 2023-05-17

Details

Check Text ( C-16382r294003_chk )
Find all device files existing anywhere on the system using commands:
# find / -type b -print | xargs ls -l > devicelistB
# find / -type c -print | xargs ls -l > devicelistC

Look at devicelistB and devicelistC files to check the permissions on the device files and directories above the subdirectories containing device files.

If any of the device files or their parent directories are world-writable, excepting device files specifically intended to be world-writable, such as "/dev/null", this is a finding.
Fix Text (F-16380r294004_fix)
Remove the world-writable permission from the device file(s) using command:
# chmod o-w